<!DOCTYPE html>
<html lang="">
<head>
    <title>{$post_title} {$site_name} </title>
    <meta name="keywords" content="{$post_keywords}"/>
    <meta name="description" content="{$post_excerpt}">
    <style>
        #article_content img {
            height: auto !important
        }

        #article_content {
            word-wrap: break-word;
        }

        .btn {
            margin-top: 33px;
        }

        .article-sidebar .atlhot-list .picbox .pv {
            padding-left: 8px;
            box-sizing: border-box;
        }

        .article-content .article-title-box .mr-btn {
            width: auto;
            max-width: 140px;
            overflow: hidden;
            text-overflow: ellipsis;
            box-sizing: border-box;
        }

    </style>
    <tc_include file="Public:headHome"/>
    <script type="text/javascript" src="__TMPL__Public/dist/js/index.js"></script>
    <script type="text/javascript" src="__TMPL__Public/lib/lazyload/jquery.lazyload.min.js"></script>
</head>
<body>
<tc_include file="Public:headerHome"/>
<div id="content" class="mr-content lsnd-content">
    <div class="mr-container">
        <div class="article-piece clearfix">
            <div class="piece-item">
                <a href="{:leuu('Market/lesson')}">
                    <i class="icon icon-list"></i>
                </a>
            </div>

            <if condition="!empty($prev)">
                <div class="piece-item piece-prev">
                    <a href="{:leuu('article/index',array('id'=>$prev['object_id'],'cid'=>$prev['term_id']))}"
                       class="iconbox"><i class="icon icon-prevarticle"></i></a>
                    <p>上一篇</p>
                </div>
            </if>
            <if condition="!empty($next)">
                <div class="piece-item piece-next">
                    <a href="{:leuu('article/index',array('id'=>$next['object_id'],'cid'=>$next['term_id']))}"
                       class="iconbox"><i class="icon icon-nextarticle"></i></a>
                    <p>下一篇</p>
                </div>
            </if>
            <!--<a class="iconbox" href="javascript:void(0);"><i class="icon icon-prevarticle"></i></a>-->
        </div>

        <div class="article-content">
            <div class="article-header">
                <div class="article-title-box">
                    <h3 class="article-title" title="{$post_title}">{$post_title}</h3>
                    <notempty name="assets">
                        <volist name="assets" id="vo">
                            <a class="mr-btn mr-btn-downvideo" title="{$vo.oriname}"
                               href="{:U('Asset/Download/index',array('aid'=>$vo['aid']))}">下载文件</a>
                            <!--{$vo.oriname}-->
                        </volist>
                    </notempty>
                </div>
                <div class="article-post-info">
                    <span class="tag">{$term.name}</span>
                    <span class="author">作者：<i>{$user_nicename}</i></span>
                    <span class="sources">来源：<i>{$post_source}</i></span>
                    <span class="time"><i class="icon icon-pv"></i>{$post_date}</span>
                </div>
            </div>
            <div class="article-body">
                {$post_content}
            </div>
        </div>
        <div class="article-sidebar">
            <div class="article-tags" style="display: none">
                <p class="tags-title">文本标签</p>
                <div class="tags">
                    <span>营销课堂</span>
                    <span>运营指导</span>
                    <span>社会化分享</span>
                </div>
            </div>
            <div class="article-hot">
                <p class="atlhot-title">最热文章推荐</p>
                <php>
                    $hot_articles=sp_sql_posts_bycatid($lesson_term_id,"field:post_title,post_date,post_hits,post_excerpt,object_id,smeta,term_id;order:post_hits
                    desc;limit:5;");
                </php>
                <ul class="atlhot-list">
                    <foreach name="hot_articles" item="vo">
                        <php>$smeta=json_decode($vo['smeta'],true);</php>
                        <li class="atlhot-item">
                            <a class="picbox"
                               href="{:leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']))}">
                                <img class="responsive-image lazy"
                                     data-original="{:sp_get_asset_upload_path($smeta['thumb'])}"
                                     src="__TMPL__Public/images/defaultimg.jpg">
                                <span class="pv"><i class="icon icon-pvwhite"></i>{$vo.post_hits}</span>
                            </a>
                            <div class="atlhot-title-time">
                                <h4 class="title"><a href="javascript:void (0)">{$vo.post_title}</a></h4>
                                <p class="post-time"><i class="icon icon-time"></i>{$vo.post_date}</p>
                            </div>
                        </li>
                    </foreach>
                </ul>
            </div>
        </div>
    </div>
    <div class="mr-concatus">
        <div class="mr-container">
            <div class="mr-title-desp">
                <h3 class="mr-title">产品服务咨询</h3>
            </div>
            <div class="form-box form-box-index">
                <form name="from" method="post" action="{:leuu('Consult/post')}">
                    <div class="form-group">
                        <div class="w520">
                            <input type="text" name="full_name" class="form-control" placeholder="姓名">
                        </div>
                        <div class="radiobox">
                            <label class="radio-inline">
                                <input type="radio" checked name="sex" value="1">先生
                                <i class="icon icon-radio"></i>
                            </label>
                            <label class="radio-inline">
                                <input type="radio" name="sex" value="2">女士
                                <i class="icon icon-radio"></i>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <input type="text" name="mobile" class="form-control" placeholder="联系方式">
                    </div>
                    <div class="form-group">
                        <input type="text" name="company" class="form-control" placeholder="公司名称">
                    </div>
                    <div class="form-group">
                        <button type="submit" class="mr-btn mr-btn-submit" onclick="javascript:form.submit();">提交
                        </button>
                        <span class="submit-tip">客服会在1小时之内联系您</span>
                    </div>
                </form>
            </div>
            <div class="concatinfo-box">
                <p class="concatinfo-item">
                    <i class="icon icon-phone"></i>(+86 010) 8557-0888
                </p>
                <p class="concatinfo-item">
                    <i class="icon icon-email"></i>yang.yi@rogrand.com
                </p>
                <p class="concatinfo-item">
                    <i class="icon icon-qq"></i>487370047
                </p>
                <p class="concatinfo-item">
                    <i class="icon icon-address"></i>北京市朝阳区东方梅地亚中心A座709
                </p>
            </div>
        </div>
    </div>
</div>
<a name="aboutus"></a>
<tc_include file="Public:footerHome"/>
<tc_include file="Public:registerLogin"/>
<tc_include file="Public:backToTop"/>
<script type="text/javascript">
    $('img.lazy').lazyload({
        effect: 'fadeIn'
    })
</script>
</body>
</html>